/*
 * Created by JFormDesigner on Thu Mar 23 21:23:39 CST 2023
 */

package com.viking.gui.usersafety;

import java.awt.*;
import java.util.*;
import javax.swing.*;
import javax.swing.GroupLayout;

/**
 * @author 86137
 */
public class UserSafetyChangePassword extends JFrame {
    public UserSafetyChangePassword() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        ResourceBundle bundle = ResourceBundle.getBundle("development.smallone");
        newPasswordtextField5 = new JTextField();
        againNewPasswordtextField6 = new JTextField();
        ensureChagebutton3 = new JButton();
        oldPasswordtextField2 = new JTextField();
        changePasswordlabel1 = new JLabel();
        canclebutton4 = new JButton();

        //======== this ========
        setTitle(bundle.getString("UserSafetyChangePassword.this.title"));
        Container contentPane = getContentPane();

        //---- newPasswordtextField5 ----
        newPasswordtextField5.setText("\u8bf7\u8f93\u5165\u65b0\u5bc6\u7801");

        //---- againNewPasswordtextField6 ----
        againNewPasswordtextField6.setText("\u8bf7\u518d\u6b21\u8f93\u5165\u65b0\u5bc6\u7801");

        //---- ensureChagebutton3 ----
        ensureChagebutton3.setText(bundle.getString("UserSafetyChangePassword.ensureChagebutton3.text"));

        //---- oldPasswordtextField2 ----
        oldPasswordtextField2.setText("\u8bf7\u8f93\u5165\u65e7\u5bc6\u7801");

        //---- changePasswordlabel1 ----
        changePasswordlabel1.setText(bundle.getString("UserSafetyChangePassword.changePasswordlabel1.text"));

        //---- canclebutton4 ----
        canclebutton4.setText(bundle.getString("UserSafetyChangePassword.canclebutton4.text"));

        GroupLayout contentPaneLayout = new GroupLayout(contentPane);
        contentPane.setLayout(contentPaneLayout);
        contentPaneLayout.setHorizontalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGroup(contentPaneLayout.createParallelGroup()
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(changePasswordlabel1))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addGap(50, 50, 50)
                            .addGroup(contentPaneLayout.createParallelGroup()
                                .addComponent(newPasswordtextField5, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE)
                                .addComponent(oldPasswordtextField2, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE)
                                .addComponent(againNewPasswordtextField6, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE)
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addComponent(ensureChagebutton3, GroupLayout.PREFERRED_SIZE, 67, GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(canclebutton4, GroupLayout.PREFERRED_SIZE, 67, GroupLayout.PREFERRED_SIZE)))))
                    .addContainerGap(53, Short.MAX_VALUE))
        );
        contentPaneLayout.setVerticalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(changePasswordlabel1)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(oldPasswordtextField2, GroupLayout.PREFERRED_SIZE, 39, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(newPasswordtextField5, GroupLayout.PREFERRED_SIZE, 36, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(againNewPasswordtextField6, GroupLayout.PREFERRED_SIZE, 36, GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(ensureChagebutton3)
                        .addComponent(canclebutton4))
                    .addContainerGap(24, Short.MAX_VALUE))
        );
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JTextField newPasswordtextField5;
    private JTextField againNewPasswordtextField6;
    private JButton ensureChagebutton3;
    private JTextField oldPasswordtextField2;
    private JLabel changePasswordlabel1;
    private JButton canclebutton4;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
